package com.sgcc.pda.hzaidl.entity;


import com.sgcc.pda.tools.JsonUtils;

/**
 * Created by cj on 2019/11/28.
 */
public class RequestBean {

    private String mainCode;
    private String methodName;
    private String paramJson;
    private String packageName;
    private String tag;

    public RequestBean(String mainCode, String methodName, String paramJson, String packageName, String tag) {
        this.mainCode = mainCode;
        this.methodName = methodName;
        this.paramJson = paramJson;
        this.packageName = packageName;
        this.tag = tag;
    }

    public RequestBean() {
    }

    public String getMainCode() {
        return mainCode;
    }

    public void setMainCode(String mainCode) {
        this.mainCode = mainCode;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getParamJson() {
        return paramJson;
    }

    public void setParamJson(String paramJson) {
        this.paramJson = paramJson;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    @Override
    public String toString() {
        return JsonUtils.toJson(this);
    }
}
